// Person.h
#include <iostream>
#include <string>
using namespace std;

class Person
{
public:
    Person();
    ~Person();
    void setName(const string &name);
    string getName() const;
    void setAge(int age);
    int getAge() const;
protected:
    string name;
    int age;
};

class Student : public Person
{
public:
    Student();
    ~Student();
    void setId(int id);
    int getId() const;
private:
    int id;
};

int main()
{
    Student stu;
    return 0;
}